package com.example.iot.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author : Lin
 * @version : [v1.0]
 * @className : IotDataObj
 * @description : 描述说明该类的功能
 * @createTime : 2023/7/2 19:20
 * @updateUser : Lin
 * @updateTime : 2023/7/2 19:20
 * @updateRemark : 描述说明本次修改内容
 */
@Data
@AllArgsConstructor
@TableName("iot_data")
public class IotDataObj {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    @TableField("timestamp")
    private String timestamp;
    @TableField("Temperature")
    private Integer Temperature;
    @TableField("Humidity")
    private Integer Humidity;
    @TableField("ZhuoDu")
    private Integer ZhuoDu;
    @TableField("Distance")
    private Integer Distance;
    @TableField("GPSN")
    private double GPSN;
    @TableField("GPSE")
    private double GPSE;
}
